<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>HTML5 <datalist> 元素</title>
</head>
<body>

<form action="/demo/demo_form.asp">

  <input list="browsers" name="browser">
  <datalist id="browsers">
    <option value="Internet Explorer">
    <option value="Firefox">
    <option value="Chrome">
    <option value="Opera">
    <option value="Safari">
  </datalist>
  <input type="submit">
</form>

<p><b>注释：</b>Safari 或 IE9（以及更早的版本）不支持 datalist 标签。</p>

</body>
</html>